{% extends "HelloWebLottoBundle::layout.html.twig" %}

{% block layoutAlert %}
    {% include "::message.html.twig" %}
{% endblock %}
{% block layoutBody %}
<table>
    <thead>
        <tr>
            <td>Id</td>
            <td>Draw No.</td>
            <td>Draw Date</td>
        </tr>
    </thead>

    <tbody>
        {% for lotto in lottos %}
        <tr>
            <td>{{ lotto.id }}</td>
            <td>{{ lotto.drawNo }}</td>
            <td>{{ lotto.drawDate }}</td>
        </tr>
        {% endfor %}
    </tbody>
</table>
{% endblock %}
